<?php
    class Model_Loaitin extends Zend_Db_Table_Abstract{
        public $_name="loaitin";
        public $_primary="idlt";
        public function getAll()
        {
            $se=  $this->select();
            return $this->fetchAll($se)->toArray();
        }
        public function getWhere($idtl)
        {
            $se=  $this->select();
            $se->where("idtl=?",$idtl);
            return $this->fetchAll($se)->toArray();
        }
    }
?>
